| Run file for CBAdecode (for Desktop operation)
| Jason Williams '92

RMEnsure SharedCLibrary 3.75 RMLoad System:Modules.CLib

Set CBAdecode$Dir <Obey$Dir>
IconSprites <CBAdecode$Dir>.!Sprites

WimpSlot -min 48k -max 48k

| Set the temporary scratch-space directory (used for inter-app. transfers)
| If you want to move the scratch directory elsewhere (like into your !System
| or !Scrap), then create a new directory for CBAdecode, and set this 
| variable to point at it...

Set CBADecode$TempDir <CBADecode$Dir>.temp

| In the following command,
| -d means run in desktop mode
| -b sets the buffer size in kilobytes. A value of < 5 means use the default
|    operating-system buffers (4k). A value of 16 gives about the best time/
|    memory performance. This option has less effect with faster drives
|    (on floppy, no buffering took 150% longer than 16k buffers, but on my
|    Quantum 105LPS hard drive, I couldn't time the difference by hand!)
|    However, the 16k buffer is a good default, and even on good hard drives
|    tends to reduce the seeking and thrashing...
|
|    *TWO* buffers of this size are used, so "-b 16" adds 32k to the current
|    WimpSlot size (No, you don't need to change the WimpSlot command above)

Run <CBAdecode$Dir>.CBAdecode -d -b 16 %*0
